package com.kafka.consumer.reach;

import lombok.SneakyThrows;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @author xuhaifeng
 */
@SpringBootApplication(scanBasePackages = "com.kafka", exclude = {DataSourceAutoConfiguration.class})
public class ConsumerApplication {

    @SneakyThrows
    public static void main(String[] args) {
        new SpringApplicationBuilder(ConsumerApplication.class).web(WebApplicationType.NONE).build().run(args);
    }

}
